home *** CD-ROM | disk | FTP | other *** search
- The Double Vision Formatter
- by Samuel Streeper
-
- The Double Vision formatter formats disks such that they are
- readable on both single and double sided disk drives. Single side
- users will have access to 400K of data, while double sided users
- will be able to read the complete 800K disk.
-
- To create a Double Vision disk, select "Format" and "Protect Side 2"
- and click on "Do It!" This will format a disk as an 80 track, 10
- sector disk, and side 2 will be protected. Now copy all the files
- you want onto this disk, and they will all be readable on both
- single and double sided drives. When you have filled up side 1,
- select "Unprotect Side 2" and click on "Do It!" Side 2 will be
- marked as available and a folder named "SIDE2" will be created.
- Any files you now write to the disk will be readable only with a
- double sided disk drive. If you put all the side 2
- files in the "SIDE2" directory, there will be no question as to
- which files are only readable on a double sided disk drive.
-
- Double Vision can be run as a program or a desk accessory. Running
- it as a desk accessory will make unprotecting side 2 easier.
- Simply change the file name from "DUBL_VIS.PRG" to "DUBL_VIS.ACC".
-
- A few notes:
-
- o When you format a disk it erases everything that was on it
- before. (You knew that.)
-
- o You can only create Double Vision disks with a double sided
- drive.
-
- o I don't recommend protecting or unprotecting disks that
- were not formatted with Double Vision.
-
- o It is OK to protect or unprotect side 2 even if side 2
- already has some files on it. Double Vision will not
- change the status of in-use sectors on side 2.
-
- o The Double Vision formatter requires error free disks, and it
- will tell you if the disk has an error when it formats it.
-
- o Any files written after unprotecting side 2 will not be
- readable on a single sided drive.
-
- o Double sided disk drives can always read and write to
- Double Vision disks. Single sided drives can only read the
- files that were written to the disk while it was protected,
- and can only write to the disk if it is protected.
-
- o The root directory is limited to 48 files or subdirectories.
- Subdirectories may have as many files or subdirectories
- as you wish.
-
- o Any time you click on "Do It!" to format, protect, or
- unprotect a disk, Double Vision will make the disk
- boot sector not executable. This tends to kill most
- boot sector viruses, although if your system is already
- infected, a virus in computer memory could rewrite
- the boot sector again. Anyway, it will help protect you
- if a virus is on the disk but you haven't booted from
- the infected disk.
-
- Other things:
- Double Vision does not skew sectors when it formats a disk. This is
- pretty easy to add if the program is run on tos 1.4 or better, but
- the ideal skew is different depending on whether the file being read
- exists on only one side or on both. At any rate, some skew would
- probably be faster than none at all, so I may add this in the future.
-
- Why it works:
- It stands to reason that a single sided drive will be able to read
- a double sided disk until it tries to access the second side of the
- disk, and then it will fail. Normal ST double sided disks have a
- good sized root directory, and 2 Fat tables that are bigger than they
- need to be. Consequently the ST will normally need to read the second
- side of the disk to access a double sided disk.
-
- Double Vision uses 1 boot sector, a 3 sector root directory, and two
- 3 sector FAT's (total 10 sectors). A normal ST disk is a 9 sector disk,
- but Double Vision formats 10 sector disks, so all the critical disk
- information fits on the first side. Now if we indicate in the FATs
- that all sectors on side 2 are bad, a file will be written only to
- sectors on side 1 of the disk. Even after we mark the sectors on
- side 2 as good again, a single sided drive will be able to read the
- file because when it follows the FAT links it will only access
- sectors on side 1. It will not even try to read or write a sector
- on side 2, so it will not fail.
-
-
- I cannot take complete credit for the Double Vision formatter, as the
- concept was originally from a disk modifier by Marc Young. I fixed a
- couple of small things, added the formatting and interface code and
- the ability to repeatedly protect and unprotect a disk without
- trashing files on side 2. This program and its source code may
- be freely distributed.
-
- Double Vision was written in Laser C.
-
- Samuel Streeper
- 1333 Wenatchee Avenue
- El Cajon, CA 92021 USA
-